package service

import (
	"log"
	"sync"
)

type StoreQueueService struct {
	sync.Mutex
}

func NewStoreQueueService() *StoreQueueService {
	return &StoreQueueService{}
}

// 刷新缓存数据
func (s *StoreQueueService) RefreshTmpList() (err error) {
	s.Lock()
	defer s.Unlock()
	log.Println("处理任务方法1。。。。")
	return
}

func (s *StoreQueueService) RefreshWork() error {

	log.Println("处理任务方法2。。。。")
	return nil
}
